$:.unshift(File.expand_path("../lib", File.dirname(__FILE__)))

require "s7"
require "test/unit"
require "pp"
require "tempfile"
require "stringio"
require "gettext"

class Test::Unit::TestCase
  include GetText

  def tempfile_path
    tempfile = Tempfile.new("tempfile_path")
    path = tempfile.path
    tempfile.close(true)
    return path
  end
end
